echar en saco roto 52
Although the locution is explained alone, we can clarify that it is said when an act, a task to achieve an end are useless, and all effort and resources are lost. The analogy is in "keeping inside a broken bag where everything falls out." See throw, sack, broken, throw into a broken sack something, fall into broken sack.